home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wdj0697.zip / POTTS.ZIP / BARCODE.H < prev    next >
C/C++ Source or Header  |  1997-03-12  |  917b  |  31 lines

  1. #if !defined(WIN32) && (defined(__WIN32__) || defined(_WIN32))
  2. #   define WIN32    1
  3. #endif
  4.  
  5. #include <stdlib.h>     /* need size_t      */
  6.  
  7. #if !defined(_INC_WINDOWS) && !defined(__WINDOWS_H)
  8. #   include <windows.h>
  9. #endif
  10.  
  11. #ifndef DLLEXP
  12. #   if defined(WIN32)
  13. #       define DLLEXP   __declspec(dllimport)
  14. #       define DLLCALL  __stdcall
  15. #   else
  16. #       define DLLEXP   
  17. #       define DLLCALL  FAR PASCAL
  18. #   endif
  19. #endif
  20.  
  21. DLLEXP int DLLCALL Barcode2of5(HDC hdc, char *str, HBITMAP *hbmp,
  22.     int *bheight, int *bwidth, int checksum, int ratio, int density,
  23.     int height);
  24. DLLEXP int DLLCALL Barcode2of5I(HDC hdc, char *str, HBITMAP *hbmp,
  25.     int *bheight, int *bwidth, int checksum, int ratio, int density,
  26.     int height);
  27. DLLEXP int DLLCALL BarcodeUPCA(HDC hdc, char *str, HBITMAP *hbmp,
  28.     int *bheight, int *bwidth, int checksum, int ratio, int density,
  29.     int height);
  30.  
  31.